package com.iwhalecloud.bss.kite.cucc.service.job.collectiongroup;

import com.dangdang.ddframe.job.api.ShardingContext;
import com.dangdang.ddframe.job.api.simple.SimpleJob;
import com.iwhalecloud.bss.kite.common.constant.KeyConsts;

import com.ztesoft.common.logger.api.ZLogger;
import com.ztesoft.common.logger.factory.ZLoggerFactory;

/**
 * 收入归集批量校验定时任务&收入归集批量转单定时任务
 */

public class BatchCreateGroupJob implements SimpleJob {

    private final ZLogger logger = ZLoggerFactory.getLogger(this.getClass(), KeyConsts.LOG_MODULE);

    @Override
    public void execute(ShardingContext shardingContext) {
        logger.info("******************** 收入归集批量处理(校验并转单)定时任务开始 ********************");
        long start = System.currentTimeMillis();
        new BatchCreateGroupDetailJob().process();
        long end = System.currentTimeMillis();
        logger.info("*************** 收入归集批量处理(校验并转单)定时结束，耗时[" + (end - start) + "]ms ***************");
    }
}
